﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using wt.wine.Domain.Enums;

namespace wt.wine.Application.Common.Interfaces
{
    public interface IInternalHttpService
    {
        Task<TResponse> GetAsync<TResponse>(ApiServiceType serviceType, string url, CancellationToken cancellationToken, Dictionary<string, string> values = null);

        Task<TResponse> PostJsonAsync<TResponse>(ApiServiceType serviceType, string url, object request, CancellationToken cancellationToken);
    }
}
